<i-form :model="this.data" class='app-form' ref='form'  id='campaign_edit_main' style="">
    <input style="display:none;" />
    <row >
            
<i-col class="form-layout-container" v-show="detailsModel.group1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.campaign.edit_main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.campaignname.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='campaignname' :itemRules="this.rules.campaignname" class='' :caption="$t('entities.campaign.edit_main_form.details.campaignname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.campaignname.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.campaignname"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.campaignname.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.codename.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='codename' :itemRules="this.rules.codename" class='' :caption="$t('entities.campaign.edit_main_form.details.codename')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.codename.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.codename"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.codename.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.transactioncurrencyname.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='transactioncurrencyname' :itemRules="this.rules.transactioncurrencyname" class='' :caption="$t('entities.campaign.edit_main_form.details.transactioncurrencyname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.transactioncurrencyname.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker 
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.transactioncurrencyname.disabled"
  name='transactioncurrencyname'
  deMajorField='currencyname'
  deKeyField='transactioncurrency'
  :service="service"
  :acParams="{ serviceName: 'TransactionCurrencyService', interfaceName: 'FetchDefault'}"
  valueitem='transactioncurrencyid' 
  :value="data.transactioncurrencyname"
  :pickupView="{ viewname: 'transaction-currency-pickup-view', title: $t('entities.transactioncurrency.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
  style=""  
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.typecode.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='typecode' :itemRules="this.rules.typecode" class='' :caption="$t('entities.campaign.edit_main_form.details.typecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.typecode.error" :isEmptyCaption="false" labelPos="LEFT">
    
<dropdown-list 
    v-model="data.typecode"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.typecode.disabled"
    valueType="string"
    tag='Campaign__TypeCode'
    codelistType='STATIC'
    placeholder='请选择...'
    
/>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.expectedresponse.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='expectedresponse' :itemRules="this.rules.expectedresponse" class='' :caption="$t('entities.campaign.edit_main_form.details.expectedresponse')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.expectedresponse.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.expectedresponse"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.expectedresponse.disabled" 
    type='number' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.objective.visible" :style="{}"  :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
    <app-form-item name='objective' :itemRules="this.rules.objective" class='' :caption="$t('entities.campaign.edit_main_form.details.objective')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.objective.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.objective"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.objective.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.grouppanel1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.campaign.edit_main_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.proposedstart.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='proposedstart' :itemRules="this.rules.proposedstart" class='' :caption="$t('entities.campaign.edit_main_form.details.proposedstart')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.proposedstart.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.proposedstart" :disabled="detailsModel.proposedstart.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.proposedstart = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.proposedend.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='proposedend' :itemRules="this.rules.proposedend" class='' :caption="$t('entities.campaign.edit_main_form.details.proposedend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.proposedend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.proposedend" :disabled="detailsModel.proposedend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.proposedend = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.actualstart.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='actualstart' :itemRules="this.rules.actualstart" class='' :caption="$t('entities.campaign.edit_main_form.details.actualstart')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualstart.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.actualstart" :disabled="detailsModel.actualstart.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.actualstart = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.actualend.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='actualend' :itemRules="this.rules.actualend" class='' :caption="$t('entities.campaign.edit_main_form.details.actualend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.actualend" :disabled="detailsModel.actualend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.actualend = val1 }"></date-picker>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.grouppanel2.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.grouppanel2" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.campaign.edit_main_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel2" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.budgetedcost.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='budgetedcost' :itemRules="this.rules.budgetedcost" class='' :caption="$t('entities.campaign.edit_main_form.details.budgetedcost')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.budgetedcost.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.budgetedcost"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.budgetedcost.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.othercost.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='othercost' :itemRules="this.rules.othercost" class='' :caption="$t('entities.campaign.edit_main_form.details.othercost')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.othercost.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.othercost"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.othercost.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.totalactualcost.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='totalactualcost' :itemRules="this.rules.totalactualcost" class='' :caption="$t('entities.campaign.edit_main_form.details.totalactualcost')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.totalactualcost.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.totalactualcost"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.totalactualcost.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.ownername.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='ownername' :itemRules="this.rules.ownername" class='' :caption="$t('entities.campaign.edit_main_form.details.ownername')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownername.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.ownername"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.ownername.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>